package com.ruiysoft.crm.model.entity;

import java.util.Date;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 
 *
 * @author lumiing
 * @date 2019-07-22 23:51:57
 */
@Data
@Accessors(chain = true)
@TableName(value = "biz_sms")
public class BizSms extends Model<BizSms> {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户姓名
     */
    @TableField(value = "userName",exist = true)
    private String username;
    /**
     * 用户ID
     */
    @TableField(value = "userid",exist = true)
    private String userid;
    /**
     * 用户ID
     */
    @TableField(value = "tag",exist = false)
    private String tag;
    /**
     * 客户Id
     */
    @TableField(value = "clientId",exist = true)
    private String clientid;
    /**
     * 客户姓名
     */
    @TableField(value = "clientName",exist = true)
    private String clientname;
    /**
     * 信息内容
     */
    @TableField(value = "content",exist = true)
    private String content;
    /**
     * sms:短信, mail:邮件
     */
    @TableField(value = "smsType",exist = true)
    private String smstype;
    /**
     * 是否成功
     */
    @TableField(value = "validFlag",exist = true)
    private String validflag;
    /**
     * 备注
     */
    @TableField(value = "note",exist = true)
    private String note;
    /**
     * 创建时间
     */
    @TableField(value = "create_Time",exist = true)
    private Date createTime;
    /**
     * 修改时间
     */
    @TableField(value = "update_time",exist = true)
    private Date updateTime;
    /**
     * 手机号
     */
    @TableField(value = "mobileNo",exist = true)
    private String mobileno;
    /**
     * 邮箱地址
     */
    @TableField(value = "mail",exist = true)
    private String mail;

}